package com.itheima.dao.store;

import com.itheima.domain.store.Catalog;

import java.util.List;

public interface CatalogDao {

    //保存
    int save(Catalog catalog);

    //删除
    int delete(Catalog catalog);

    //更新
    int update(Catalog catalog);

    //根据ID查找
    Catalog findById(String id);

    //查询所有
    List<Catalog> findAll();
}
